package com.bank.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * BankNewsType entity. @author MyEclipse Persistence Tools
 */

public class BankNewsType implements java.io.Serializable {

	// Fields

	private Integer newsTypeId;
	private String newsTypeName;
	private Set bankNewses = new HashSet(0);

	// Constructors

	/** default constructor */
	public BankNewsType() {
	}

	/** minimal constructor */
	public BankNewsType(String newsTypeName) {
		this.newsTypeName = newsTypeName;
	}

	/** full constructor */
	public BankNewsType(String newsTypeName, Set bankNewses) {
		this.newsTypeName = newsTypeName;
		this.bankNewses = bankNewses;
	}

	// Property accessors

	public Integer getNewsTypeId() {
		return this.newsTypeId;
	}

	public void setNewsTypeId(Integer newsTypeId) {
		this.newsTypeId = newsTypeId;
	}

	public String getNewsTypeName() {
		return this.newsTypeName;
	}

	public void setNewsTypeName(String newsTypeName) {
		this.newsTypeName = newsTypeName;
	}

	public Set getBankNewses() {
		return this.bankNewses;
	}

	public void setBankNewses(Set bankNewses) {
		this.bankNewses = bankNewses;
	}

}